package object.extend.object_extends;
public class test{
    public static void main(String[] args) {
        // 声明一个男人对象
        Man songYu = new Man("女人");
        System.out.println(songYu.gender()+"我的爱好是"+songYu.hobby);
        songYu.run();
    }

}
